import { http } from '@/utils/http'
import type { GoodsResult } from '@/types/goods'
export const getGoodsByIdAPI = (id: string) => {
  return http<GoodsResult>({
    url: `/goods?id=${id}`,
    method: 'GET',
  })
}
